<?php if ($this->_var['article_categories']): ?>
<div class="modTitle clearfix">
	<span class="left"></span><span class="right"></span>
	<div class="f_l"><?php echo $this->_var['lang']['article_cat']; ?></div>
</div>
<div class="modBox">
  <dl id="category_tree">
	<?php $_from = $this->_var['article_categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'cat');if (count($_from)):
    foreach ($_from AS $this->_var['cat']):
?>
    <dt><a href="<?php echo $this->_var['cat']['url']; ?>" class="us_textDot"><?php echo htmlspecialchars($this->_var['cat']['name']); ?></a></dt>
      <dd>
			<?php $_from = $this->_var['cat']['children']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'child');if (count($_from)):
    foreach ($_from AS $this->_var['child']):
?>
			&nbsp;&nbsp;·<a href="<?php echo $this->_var['child']['url']; ?>"><?php echo htmlspecialchars($this->_var['child']['name']); ?></a><br>
			<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
			</dd>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
	</dl> 
</div>
<?php endif; ?>